class CreateProducts < ActiveRecord::Migration
  def change
    create_table :products do |t|
      t.string :tieude
      t.string :hinhanh
      t.decimal :gia
      t.string :loai
      t.text :mota

      t.timestamps
    end
  end
end
